// services/doctor.js
// 导入封装好的网络请求模块
import { http } from '@/utils/http'

/**
 *  首页-查询推荐/减脂/饮食健康/关注页面--百科文章列表
 *  @params data 请求对象
 */
export const feedListApi = (data) => {
  return http.get('/patient/home/knowledge', { params: data })
}

/**
 * 推荐医生列表
 */
export const doctorListApi = (current = 1, pageSize = 5) => {
  return http.get('/home/page/doc', { params: { current, pageSize } })
}
